namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 设备 - 堆垛机-货叉-区域
    /// </summary>
    public DbSet<PORcsEquipCrn> RcsEquipCrns { get; set; }
}

/// <summary>
/// 设备 - 堆垛机-货叉-区域
/// 表[rcs_equip_crn]
/// </summary>
[Table("rcs_equip_crn")] 
public class PORcsEquipCrn
{
    /// <summary>
    /// crn equip id
    /// 主键[rcs_equip_crn.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 创建时间
    /// [rcs_equip_crn.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 库区ID
    /// [rcs_equip_crn.warehouse_id)]
    /// </summary>
    [Column("warehouse_id")]
    public long? WarehourseId { get; set; }
    /// <summary>
    /// 堆垛机货叉1
    /// [rcs_equip_crn.crn_fork1)]
    /// </summary>
    [Column("crn_fork1")]
    public long? CrnFork1 { get; set; }
    /// <summary>
    /// 堆垛机货叉2
    /// [rcs_equip_crn.crn_fork2)]
    /// </summary>
    [Column("crn_fork2")]
    public long? CrnFork2 { get; set; }
    /// <summary>
    /// 堆垛机负责区域1
    /// [rcs_equip_crn.crn_area1)]
    /// </summary>
    [Column("crn_area1")]
    public long? CrnArea1 { get; set; }
    /// <summary>
    /// 堆垛机负责区域2
    /// [rcs_equip_crn.crn_area2)]
    /// </summary>
    [Column("crn_area2")]
    public long? CrnArea2 { get; set; }
    /// <summary>
    /// 更新时间
    /// [rcs_equip_crn.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [rcs_equip_crn.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 上次执行任务类型
    /// [rcs_equip_crn.now_task_type)]
    /// </summary>
    [Column("now_task_type")]
    public int? NowTaskType { get; set; }
}
